
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/common/taglibs.jsp" %>
<div id="a_2_list">

<script type="text/javascript">
$(document).ready(function() {
var activemenu = $('meta[name="activemenu"]').attr("content");
if(!activemenu){
	activemenu = $('#activemenu').val();
}
if(activemenu){
	
	var tag = $('#' + activemenu);
	tag.addClass('cur');
	$('.tree ul').hide();
	$(tag.parent().parent().parent().find("a[class='plus']")).toggleClass('cut');
	tag.parent().parent().toggle();
}
$('.plus').click(function(){
	$(this).toggleClass('cut').next('ul').toggle();
})

});

	</script>
	

	<ul class="tree">
		<li>
			<a href="#" class="plus" style="outline:none;blr:expression(this.onFocus=this.blur())"><span class="folder"><spring:message code="menu.oms_manage" /></span></a>
			<ul>
				<li><a href="#"><spring:message code="menu.user_center" /></a></li>
				<security:authorize ifAnyGranted="ope,adm">
					<li><a id="orderquery" href="${ctx}/ope/order.action"><spring:message code="menu.order_query" /></a></li>
					<li><a id="ordercheck" href="${ctx}/ope/draft.action"><spring:message code="menu.order_check" /></a></li>
					<li><a id="ordernew" href="${ctx}/ope/draft!newdraft.action"><spring:message code="menu.new_order" /></a></li>
				</security:authorize>
				<security:authorize ifAnyGranted="cus">
				<li><a id="orderquery" href="${ctx}/cus/order.action"><spring:message code="menu.order_query" /></a></li>
					<li><a id="ordercheck" href="${ctx}/cus/draft.action"><spring:message code="menu.order_draft" /></a></li>
					<li><a id="ordernew" href="${ctx}/cus/draft!newdraft.action"><spring:message code="menu.new_order" /></a></li>
					<li><a href="#"><spring:message code="menu.warehouse_query" /></a></li>
					<li><a id="statmanage" href="${ctx}/cus/stat.action"><spring:message code="menu.order_stat" /></a></li>
				</security:authorize>
				<security:authorize ifAnyGranted="adm">
					<li><a id="statmanage" href="${ctx}/adm/stat.action"><spring:message code="menu.order_stat" /></a></li>
				</security:authorize>
				<security:authorize ifAnyGranted="wh,adm">
					<li><a href="#"><spring:message code="menu.warehouse_query" /></a></li>
				</security:authorize>
			</ul>
		</li>
		<li>
			<a href="#" class="plus" style="outline:none;blr:expression(this.onFocus=this.blur())"><span class="folder"><spring:message code="menu.tms_manage" /></span></a>
			<ul>
				<security:authorize ifAnyGranted="tms,adm">
				<li><a href="#">TMS<spring:message code="menu.order_query" /></a></li>
				<li><a href="#">TMS<spring:message code="menu.order_check" /></a></li>
				<li><a href="#">TMS<spring:message code="menu.new_order" /></a></li>
				</security:authorize>
				<security:authorize ifAnyGranted="adm">
				<li><a href="#">TMS<spring:message code="menu.order_stat" /></a></li>
				</security:authorize>
				<security:authorize ifAnyGranted="dr,adm">
				<li><a href="#"><spring:message code="menu.vehicle_query" /></a></li>
				<li><a href="#"><spring:message code="menu.new_vehicle" /></a></li>
				<li><a href="#"><spring:message code="menu.gps_query" /></a></li>
				<li><a href="#"><spring:message code="menu.road_map" /></a></li>
				<li><a href="#"><spring:message code="menu.vehicle_order" /></a></li>
				</security:authorize>
			</ul>
		</li>
		<li>
			<a href="#" class="plus" style="outline:none;blr:expression(this.onFocus=this.blur())"><span class="folder"><spring:message code="menu.set_manage" /></span></a>
			<ul>
				<security:authorize ifAnyGranted="sys,adm">
				<li><a id="usermanage" href="${ctx}/sys/user.action"><spring:message code="menu.user_management" /></a></li>
				<li><a id="newuser" href="${ctx}/sys/user!input.action"><spring:message code="menu.user_new" /></a></li>
				<li><a id="cusmanage" href="${ctx}/sys/customer.action"><spring:message code="menu.customer_management" /></a></li>
				<li><a id="newcus" href="${ctx}/sys/customer!input.action"><spring:message code="menu.customer_new" /></a></li>
				<li><a id="logmanage" href="#"><spring:message code="menu.log_management" /></a></li>
				</security:authorize>
				<li><a id="changepassmanage" href="${ctx}/modifypass!show.action"><spring:message code="menu.change_password" /></a></li>
			</ul>
		</li>
</ul>
</div>